$(function() {
	$("#addForm").validate({
		rules : {
			code : 'required',
			navName : 'required',
			pathUrl: 'required',
			priority : 'required',
			isDisable: 'required'
		},
		messages : {
			code : {
				required : "请输入字典code值且为数字"
			},
			navName : {
				required : "请输入导航名称"
			},
			pathUrl : {
				required : "请输入导航路径"
			},
			priority : {
				required : "请输入排序值"
			},
			isDisable : {
				required : "请输入状态"
			}
		}
	});
});
